﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
	/// 质检信息表
	/// </summary>
	[Serializable]
	public partial class AT_QualityBatchInfo : AT_OnroadProdEx
	{
		public AT_QualityBatchInfo()
		{}
		#region Model
		private long _id=0;
		private long _companyid=0;
		private DateTime _createtime= DateTime.Now;
		private long _createby=0;
		private DateTime _updatetime= DateTime.Now;
		private long _updateby=0;
		private long _productid=0;
        private long _skuid = 0;
		private long _batchnoid=0;
		private DateTime _qydate= DateTime.Now;
		private string _qyaddr="";
		private DateTime _sydate= DateTime.Now;
		private long _syman=0;
		private string _checkbase="";
		private string _checkresult="";
		private string _check="";
		private string _checkman="";
		private string _rechkman="";
		private string _authman="";
		private String _checkreport="";
		private int _status=0;
        private int _qynum = 0;
        private int _checknum = 0;

        public int CheckNum
        {
            get { return _checknum; }
            set { _checknum = value; }
        }

        public int QyNum
        {
            get { return _qynum; }
            set { _qynum = value; }
        }

        public long SkuId
        {
            get { return _skuid; }
            set { _skuid = value; }
        }
		/// <summary>
		/// 
		/// </summary>
		public long Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long CompanyId
		{
			set{ _companyid=value;}
			get{return _companyid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long CreateBy
		{
			set{ _createby=value;}
			get{return _createby;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime UpdateTime
		{
			set{ _updatetime=value;}
			get{return _updatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long UpdateBy
		{
			set{ _updateby=value;}
			get{return _updateby;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long ProductId
		{
			set{ _productid=value;}
			get{return _productid;}
		}
		/// <summary>
		/// 生产批次Id
		/// </summary>
		public long BatchNoId
		{
			set{ _batchnoid=value;}
			get{return _batchnoid;}
		}
		/// <summary>
		/// 取样日期
		/// </summary>
		public DateTime QyDate
		{
			set{ _qydate=value;}
			get{return _qydate;}
		}
		/// <summary>
		/// 取样人员
		/// </summary>
		public string QyAddr
		{
			set{ _qyaddr=value;}
			get{return _qyaddr;}
		}
		/// <summary>
		/// 收样日期
		/// </summary>
		public DateTime SyDate
		{
			set{ _sydate=value;}
			get{return _sydate;}
		}
		/// <summary>
		/// 收样人
		/// </summary>
		public long SyMan
		{
			set{ _syman=value;}
            get { return _syman; }
		}
		/// <summary>
		/// 检测依据
		/// </summary>
		public string CheckBase
		{
			set{ _checkbase=value;}
			get{return _checkbase;}
		}
		/// <summary>
		/// 检测结果
		/// </summary>
		public string CheckResult
		{
			set{ _checkresult=value;}
			get{return _checkresult;}
		}
		/// <summary>
		/// 检验判定
		/// </summary>
		public string Check
		{
			set{ _check=value;}
			get{return _check;}
		}
		/// <summary>
		/// 检验员
		/// </summary>
		public string CheckMan
		{
			set{ _checkman=value;}
			get{return _checkman;}
		}
		/// <summary>
		/// 审核员
		/// </summary>
		public string ReChkMan
		{
			set{ _rechkman=value;}
			get{return _rechkman;}
		}
		/// <summary>
		/// 批准人
		/// </summary>
		public string AuthMan
		{
			set{ _authman=value;}
			get{return _authman;}
		}
		/// <summary>
		/// 质检报告
		/// </summary>
		public String CheckReport
		{
			set{ _checkreport=value;}
			get{return _checkreport;}
		}
		/// <summary>
		/// 状态
		/// </summary>
		public int Status
		{
			set{ _status=value;}
			get{return _status;}
		}
		#endregion Model


        #region ExModel
        public int Type { get; set; }
        //public string MadeCount { get; set; }
        #endregion
    }
}
